package phoenix.web.locators.base.features;

import org.openqa.selenium.By;

/**
 * Created by AlexGolovko on 27.11.2014.
 */
public abstract class NaughtyModeLocatorsBase
{
	public By blockNaughtyType = By.xpath("//a[@class='btn-switch']");

	// Modes
	public By elPhotoList = By.xpath("//span[@class='photo-list']/div");
	public By elMailPhoto = By.xpath("//div[@id='userPhotoGalleryFullWrap']/span");
	public By elNotification = By.xpath("//div[@id='activityNotification']/div[contains(@class,'image')]");

	// Links
	public By linkNormal = By.xpath("//a[contains(text(),'Normal')]");
	public By linkSexy = By.xpath("//a[contains(text(),'Sexy')]");
	public By linkHard = By.xpath("//a[contains(text(),'No Limits')]");

	// Blocks
	public By blockSwitcher = By.cssSelector("div.mode");
	// Drop down menu
	public By blockDropMenu = By.xpath("//div[@class='b-dropdown-menu']");

	// Confirmation pop-up
	public By btnSubmit = By.xpath("//input[@data-agree-restriction='1']");

	public By userLink(String p_value)
	{
		return By.xpath("//div[@data-user-id='" + p_value + "']");
	}
}
